This one is failing here, I suspect it's the generic pull race
condition, but these fixes should make it slightly more reliable.
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
+set -e
+
cd ${test_tmpdir}
mkdir repo
${CMD_PREFIX} ostree --repo=repo init
fi
rm -rf ${repopath}
cp -a ${repopath}.orig ${repopath}
- if ${CMD_PREFIX} ostree --repo=repo pull origin main && ${CMD_PREFIX} ostree --repo=repo fsck; then
+ ${CMD_PREFIX} ostree --repo=repo pull origin main
+ if ${CMD_PREFIX} ostree --repo=repo fsck; then
echo "ok pull with correct data worked"
else
assert_not_reached "pull with correct data failed!"